<div class="margin30px">
    <div class="span8">
          <h1>Novidades</h1>
          <hr>
        <div class="carousel slide" id="myCarousel">
            <div class="carousel-inner">
                {section name="i" loop=$ARRBANNER}
                    {if $ARRBANNER[i].nome_foto}
                        <div style="min-height: 100px;max-height: 500px;" class="{if $smarty.section.i.index eq 1}active {/if}item">
                            {if $ARRBANNER[i].link}
                                <a href="{if $ARRBANNER[i].link!="#"}http://{$ARRBANNER[i].link}{else}#{/if}">
                                {/if}
                                <img alt="{$ARRBANNER[i].resumo}"  src="{$URL_IMG_SALVAS}{$ARRBANNER[i].nome_foto}"/>
                                {if $ARRBANNER[i].link}
                                </a>
                            {/if}
                            <div class="carousel-caption">
                                <h4>{$ARRBANNER[i].descricao}</h4>
                                <p>{$ARRBANNER[i].texto}</p>
                            </div>
                        </div>
                    {/if}
                {/section}
            </div>
            <a data-slide="prev" href="#myCarousel" class="left carousel-control">‹</a>
            <a data-slide="next" href="#myCarousel" class="right carousel-control">›</a>
        </div>
    </div>
</div>
